package com.study.demoservice.controller;

import com.study.demoservice.httpclient.MyClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ForestController {

    @Autowired
    private MyClient myClient;

    @GetMapping("/forest1")
    public String testForest() {
        return myClient.helloForest();
    }
}
